package phoenix.web.locators.flirt;

import org.openqa.selenium.By;

import phoenix.web.locators.base.MyAccountLocatorsBase;

public class MyAccountLocators extends MyAccountLocatorsBase
{
	/**
	 * Overrides specific locators
	 */
	public MyAccountLocators()
	{
		elementMySettingsDiv = By.xpath("//div[@class='settings-content']");
		// Block New activity notifications
		checkboxNewMessages = By.xpath("(//input[@type='checkbox'])[65]");
		checkboxNewWink = By.xpath("(//input[@type='checkbox'])[66]");
		checkoutNewViews = By.xpath("(//input[@type='checkbox'])[67]");
		// Block Matches' activity notifications:

		// Upgrade button
		btnUpgradeMembersip = By.xpath("//*[@class='b-settings-row member-status']//*[@class='btn green']");
		btnUpgradePackage = By.xpath("//*[@class='b-settings-row member-status']//a[contains(@href,'/pay/membership')]");
		btnUpgradeFeatures = By.xpath("//*[@class='b-settings-row member-status']//a[contains(@href,'/pay/features')]");
		btnMembership = By.xpath(".//*[@id='layoutContent']//a[contains(@class,'btn')]");

		blockMySettings = By.cssSelector(".settings-content");
		blockContactUs = By.cssSelector(".contact-content");
		buttonSavePassword = By.xpath("(//*[@class='b-settings-row b-settings-password active']//*[@class='b-value']//button)[5]");

		buttonEditEmail = By.cssSelector("input.password");
		inputPassword = By.xpath("(//input[@type='text'])[8]");
		inputEmail = By.cssSelector("input.email");

		buttonEditPassword = By.xpath("//input[@class='password-old']");
		inputOldPass = By.xpath("(//input[@type='password'])[2]");
		inputNewPass = By.xpath("//input[@class='password-new']");

		buttonSaveEmail = By.xpath("(//*[contains(@class,'b-settings-row b-settings-email')]//*[contains(@class,'b-value')])[2]//button[1]");
		elementSuccessMessage = By.xpath("//div[@class='b-success active']");
		blockUID = By.xpath("//*[@class='b-settings-row b-id']//span[@class='value']");

		btnBillingHistory = By.xpath("//a[@href='/#billingHistory']");
		btnRemoveAccount = By.xpath("//button[@data-remove-account='data-remove-account']");
	}
}
